package o;

import android.graphics.Bitmap;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

public class wh implements tx<Bitmap>, tp {
    private final uc ˊ;
    private final Bitmap ˏ;

    @NonNull
    public /* synthetic */ Object ˋ() {
        return ˏ();
    }

    @Nullable
    public static wh ˊ(@Nullable Bitmap bitmap, @NonNull uc ucVar) {
        if (bitmap == null) {
            return null;
        }
        return new wh(bitmap, ucVar);
    }

    public wh(@NonNull Bitmap bitmap, @NonNull uc ucVar) {
        this.ˏ = (Bitmap) aas.ˋ(bitmap, "Bitmap must not be null");
        this.ˊ = (uc) aas.ˋ(ucVar, "BitmapPool must not be null");
    }

    @NonNull
    public Class<Bitmap> ˎ() {
        return Bitmap.class;
    }

    @NonNull
    public Bitmap ˏ() {
        return this.ˏ;
    }

    public int ॱ() {
        return aau.ˏ(this.ˏ);
    }

    public void ॱॱ() {
        this.ˊ.ˏ(this.ˏ);
    }

    public void ˊ() {
        this.ˏ.prepareToDraw();
    }
}
